ExamPlay Light Logo
Είσοδος

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 8 - No. 13)

What happens when the `Found` flag variable is set to TRUE in the linear search example?
The search continues to examine the remaining items in the list.
The algorithm immediately stops and indicates that the item has been found.
The algorithm moves to the next stage of the program.
The search restarts from the beginning of the list.

Εξήγηση

The algorithm has found the item and, in the examples, sets 'found' to true.

Σχόλια (0)

Είσοδος για σχόλιο
Διαφήμιση
BrainBehindX Inc Logo
©2026; Τροφοδοτείται από BrainBehindX Inc